package controller

import (
	"github.com/gin-gonic/gin"

	"gitee.com/go-course/go8/project_arch/mvc/dao"
)

func CreateBlog(ctx *gin.Context) {
	// 业务出来逻辑 也写在这里

	// 调用Dao完成数据的入库
	dao.SaveBlog()
}
